
package com.hlk.emos.wx.service;


import com.hlk.emos.wx.db.pojo.UserEntity;
import com.hlk.emos.wx.dto.RegisterDto;

import java.util.Set;

/**
 * 用户表
 *
 * @author hlk hlk@gmail.com
 * @since v1.0.0 2021-05-19
 */
public interface UserService extends BaseService<UserEntity> {

    int registerUser(RegisterDto dto);

    Set<String> selectUserPermissions(int id);

    int login(String code);
}
